package com.mysterymall.Service;

import com.mysterymall.Common.Utils.Result;
import com.mysterymall.Model.Dto.SlideshowDto;

import javax.servlet.http.HttpServletRequest;

/**
 * @ClassName com.mysterymall.Service
 * @Description
 * @Author HuangWX
 * @Time 2023/11/20  16:16
 */

public interface SlideshowService {


    /**
     * 获取轮播图
     * @return Result
     */
    Result getSlideshow();

    /**
     * 新增轮播图
     * @param slideshowDto 轮播图dto
     * @return Result
     */
    Result addSlideshow(SlideshowDto slideshowDto);

    /**
     * 修改轮播图
     * @param slideshowDto 轮播图dto
     * @return Result
     */
    Result updateSlideshow(SlideshowDto slideshowDto);

    /**
     *  获取轮播图
     * @return Result
     */
    Result getShowSlideshow(HttpServletRequest request);
}
